import request from '../utils/request'

//显示个人信息
export function getInfo(id){
    return request.get(`/BackgroundLogin/getUserInformation/${id}`)
}
//修改管理员信息
export function alterinfo(id,data){
    return request.post(`/BackgroundLogin/alteruserinfo/${id}`,data)
}
//修改店铺信息
export function alterStoreInfo(id,data){
    return request.post(`/BackgroundLogin/alterStoreInfo/${id}`,data)
}
//修改密码
export function updatapass(id,data){
    return request.post(`/BackgroundLogin/${id}`,data)
}